<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>首页</title>
<jsp:include page="header1.jsp"></jsp:include>
</head>
<body>

<div class="shortcut">
     <div class="w">
             <div class="fl">
             <c:choose>
				<c:when test="${empty loginUser}">
					<span>你好！欢迎来到通药集采平台！</span>
					<a href="login.jsp">请登录</a>
					<a href="register.jsp">免费注册</a>
				</c:when>
				<c:otherwise>
					<span>你好！欢迎:${loginUser.nickname }&nbsp;来到通药集采平台！</span>
					<a href="UserOutServlet">退出</a>
				</c:otherwise>
			</c:choose>
             </div>
	     <div class="fr">
	         <ul>
	             <li><a href="member-order.jsp">我的订单</a></li>
	             <li>
	                 <a href="ShowOrderServlet">我的集采<i class="caret"></i></a>
	                 <ul>
	                     <li><a href="ShowOrderServlet">采购中心</a></li>
	                     <li><a href="ShowAttentionServlet">关注中心</a></li>
	                     <li><a href="AccountServlet">设置中心</a></li>
	                 </ul>
	             </li>
	             <li><a href="">收藏夹</a></li>
	             <li><a href="">我是厂家</a></li>
	             <li><a href="">客户服务</a></li>
	             <li><a href="">网站导航</a></li>
	           </ul>
	      </div>
   	</div>
</div>

<!-- shortcut out -->
<div class="w clearfix">
  <div class="logo fl">
         <img class="img" src="images/logo.png" alt="">
     </div>
     <div class="fr sea-box">
     <form method="post" action="/medicine/searchgoods">
        <div class="search fl">
            <input type="text" placeholder="搜索您需要的商品" class="search-text" id="keywords" name="keywords">
            <button class="btn btn-warning" target="view_window">
                搜索
            </button>
        </div>
    </form>
     <div class="fr shopping-cart dorpdown J-dorpdown">
         <a href="CartShow" target="view_window" class=" btn btn-danger"><i class="procu-ico"></i><span>采购单(5)</span></a>
         <div class="dorpdown-layer">
             <div class="settleup-content">
                 <h3 class="tit">新添加商品</h3>
                 <div class="smc">
                 <ul>
                     <li>
                         <div class="od-img fl"><img class="img" src="images/shop_img.jpg" alt=""></div>
                         <div class="od-name fl"><a href="">修正 高钙蛋白质粉450g/罐 提高免</a></div>
                         <div class="od-detail fr ar">
                             <span class="od-price"><strong>￥239.00</strong></span> 
                              <br> 
                              <a class="detele" href="javascript:void(0)">删除</a>
                          </div>
                     </li>
                       <li>
                         <div class="od-img fl"><img class="img" src="images/shop_img.jpg" alt=""/></div>
                         <div class="od-name fl"><a href="">修正 高钙蛋白质粉450g/罐 提高免</a></div>
                         <div class="od-detail fr ar">
                             <span class="od-price"><strong>￥239.00</strong></span> 
                              <br> 
                              <a class="detele" href="javascript:void(0)">删除</a>
                          </div>
                     </li>
                       <li>
                         <div class="od-img fl"><img class="img" src="images/shop_img.jpg" alt=""/></div>
                         <div class="od-name fl"><a href="">修正 高钙蛋白质粉450g/罐 提高免</a></div>
                         <div class="od-detail fr ar">
                             <span class="od-price"><strong>￥239.00</strong></span> 
                              <br> 
                              <a class="detele" href="javascript:void(0)">删除</a>
                          </div>
                     </li>
                 </ul>
             </div>
             <div class="smb ar">
                 <div class="p-total">共<span>8</span>件计件，总金额：<strong>￥ 605.00</strong></div>
                 <a href="CartShow" title="去购物车" class="btn btn-warning btn-s fr"><i class="glyphicon glyphicon-shopping-cart"></i>去结算</a>
             </div>
             </div>
             
             
         </div>
     </div>
     </div>
 </div><!--searchbox end-->
      
      <div class="nav-index clearfix">
            <div class="w">
                <div class="navcate fl navCon_on">
                    <div class="navCon-cate-title"><a href="/medicine/tree?tparent=0">全部商品分类</a></div>

                    <ul class="cate-menu">
                    <c:forEach items="${indexShow.trees }" var="t">
                        <li  class="">
                            <a href="searchgoods?type_id=${t.tid }"><i class="cat-nav-icon cat-nav-icon1"></i>${t.tname }</a>
                            <div class="list-item J-list-item" >

                            <div class="itemleft">
                                 <i href="" class="glyphicon glyphicon-remove close"></i>
                                <div>
                                <c:forEach items="${t.children }" var="tc">
                                    <dl>
                                        <dt>
                                         <a href="searchgoods?type_id=${tc.tid }">
                                         ${tc.tname } 
                                         </a>
                                         </dt>
	                                    <dd>
	                                        <c:forEach items="${tc.children }" var="tcl">
	                                    	    <a href="searchgoods?type_id=${tcl.tid }">${tcl.tname }</a>
                                      	    </c:forEach>
                                        </dd>
                                   </dl>
							   </c:forEach>
                                      

                                </div>
                               
                            </div>
                        </div><!--list-item end-->
                         </li>
            
                      </c:forEach>    
            </ul>
                </div><!--navcate end-->

              
                    <ul class="nav-item">
                     <li class="hover"><a href="index" data-hover="首页">首页</a></li>
                     <li><a href="" data-hover="中西成药">中西成药</a></li>
                     <li><a href="" data-hover="中药材/饮片">中药材/饮片</a></li>
                     <li><a href="" data-hover="医疗器械">医疗器械</a></li> 
                     <li><a href="" data-hover="健康产品">健康产品</a></li> 
                     <li><a href="" data-hover="厂家专区">厂家专区</a></li>
                     <li><a href="" data-hover="附近药店">附近药店</a></li> 
                     <li><a href="" data-hover="药房伙计">药房伙计</a></li>    
                 </ul><!--navItem end-->

				 <div class="tel"><i class="glyphicon glyphicon-earphone"></i>400-1066-519</div>
               </div>
           
      </div><!--mav end-->

  
      
    <div id="banner" class="banner">
        <div id="banner_bg">
            <div style="background:#9cd5ff;opacity:1;"></div>
            <div style="background:#00236f;opacity:0;"></div>
            <div style="background:#fccf02;opacity:0;"></div>
        </div>
       <div class="w">
           <div class="slider"> 

            <div id="wowslider-container1"> 
                <div class="ws_images" id="ws_images">
                    <a href="" style="font-size: 0px;opacity:1;"><img class="img" src="images/banner-01.jpg" id="wows0"></a>
                    <a href="" style="font-size: 0px;opacity:0;"><img class="img" src="images/banner-02.jpg"  id="wows2"></a>
                    <a href="" style="font-size: 0px;opacity:0;"><img class="img" src="images/banner-03.jpg" id="wows2"></a>
                   
                    <div >
                        <div ></div>
                        <div></div>
                        <div ></div>
                    </div>
                </div>
                <div class="ws_bullets">
                    <div>
                        <a href="p" title="" class="ws_selbull">1</a>
                        <a href="p" title="" class="">2</a>
                        <a href="" title="" class="">3</a>
               </div>
                </div>
                <div class="ws_shadow"></div> 
                <a href="javascript:;" class="ws_next" id="ws_next"></a><a href="javascript:;" class="ws_prev" id="ws_prev"></a><div class="ws-title" style="display: none;"></div>
            </div>


        </div>
        <div class="sidebar">
            <i></i>
              <div class="side-ico">

                <ul>
                    <li>
                        <a href="" class="icon side-icon-1"></a>
                        <p>权威荣誉</p>
                    </li>
                    <li>
                        <a href="" class="icon side-icon-2"></a>
                        <p>品牌授权</p>
                    </li>
                    <li>
                        <a href="" class="icon side-icon-3"></a>
                        <p>正品保险</p>
                    </li>
                    <li>
                        <a href="" class="icon side-icon-4"></a>
                        <p>满79包邮</p>
                    </li>
                    <li>
                        <a href="" class="icon side-icon-5"></a>
                        <p>退换无忧</p>
                    </li>
                    <li>
                        <a href="" class="icon side-icon-6"></a>
                        <p>隐私包装</p>
                    </li>

                </ul>

                <div class="clearfix"></div>
             </div>
             <div class="notice">
                    <h2 class="font1"><i class="glyphicon glyphicon-bullhorn"></i>公告</h2>
                 <ul>
                     <li><a href="news/20150702.html">【咨询】孩子也有压力 如何让孩子开口与你沟通</a></li>
                    <li><a href="news/20150703.html">【咨询】白领老觉得累 或是慢性疲劳的“信号”</a></li>
                    <li><a href="news/20150704.html">【咨询】湖南检方决定不起诉“抗癌药代购第一人”陆勇</a></li>
                    <li><a href="news/20150705.html">【咨询】广东现首例MERS疑似病例 大规模疫情可能性低</a></li>
                 </ul>
             </div>
        </div>
       </div>
     </div><!--banner-->


<!-- 商铺显示 开始-------------------------------------------------------------------------------    -->            
<%--     <div class="floor fl-hot w">
        <div class="mt clearfix">
        <h2>热门品牌 <i>HOT BRAND</i></h2>
        <div id="hot-tab">
        	<a class="prev" href="javascript:;"></a>
        	<a class="next" href="javascript:;"></a>
        </div>
         </div><!--mt end-->
        <div class="mc clearfix">
            <div class="side-inner">
              
            <div class="err-product"><img class="img" src="images/temp/8.jpg" alt=""></div>
            </div><!--side-inner end-->

            <div class="main">
                <ul class="p-list list-pin" style="left: -1px;">
                	<c:choose>
						<c:when test="${empty indexShow.shops }">  <!-- 先判断一下,是否有数据 -->
							没有搜索到任何商品!
						</c:when>
						<c:otherwise>
							<c:forEach items="${indexShow.shops }" var="p">
		                	 <li>
		                        <div class="p-item">
		                            <p class="p-img"><a href="QueryShopServlet?sid=${p.sid }"><img class="img" src="${p.spic }" alt=""></a></p>
		                            <i class="attention J-attention glyphicon glyphicon-heart"></i>
		                            <a href="#">${p.sname }</a><br/>
									<em>${p.summary }</em><br/>
									<a href="#" >收藏店铺</a>  <a href="">进入店铺</a>
		                        </div>
		                    </li>    
							</c:forEach>
						</c:otherwise>	
					</c:choose>
                    <div class="clearfix"></div>    
                </ul>
            </div><!--main end-->
        </div>
    </div><!--floor end-->    --%>
<!-- 商铺显示 结束     ----------------	-----------------------------------------------------------    -->          



<!-- 商铺显示 开始-------------------------------------------------------------------------------    -->            
    <!-- 店铺显示界面二  -->
     <div class="floor w">
        <div class="mt clearfix">
        <h2>推荐店铺</h2>
         </div><!--mt end-->
        <div class="mc clearfix">
            <div class="side-inner">
               <div class="item">
                        <div class="brand">
                            <a >
                                <img class="img" src="images/temp/8.jpg" >
                            </a>
                        </div>
                       <div class="floor-brands">   <ul> 
                        <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                           <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                              <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                                 <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li><li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>   <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li> </ul></div>
                    </div>
                          </div><!--side-inner end-->
            <!-- 日常用药模块商品 -->
            <div class="main">
                <ul class="p-list">
							<c:forEach items="${indexShow.shops }" var="p">
		                	 <li>
		                        <div class="p-item">
		                            <p class="p-img"><a href="ShowGoodsServlet?sid=${p.sid }"><img class="img" src="${p.spic }" alt=""></a></p>
		                            <i class="attention J-attention glyphicon glyphicon-heart"></i>
		                            <a href="QueryShopServlet?sid=${p.sid }" style="font-size:16px;">${p.sname }</a><br/><br/>
									<a href="AttentionAddServlet?sid=${p.sid }" style="font-size:18px; color:blue;">收藏店铺</a><a href="ShowGoodsServlet?sid=${p.sid }" style="font-size:18px; color:green; ">进入店铺</a>
		                        </div>
		                    </li>    
							</c:forEach>
                </ul>
            </div>
            <!--main end-->
        </div>
    </div>  <br/><br/><br/>
    <!--floor end-->
 <!-- 商铺显示 结束     -----------------------------------------------------------------------------------    -->          


    
<!-- 首页大聚会模块商品显示—————————————————————————— -->
    <div class="floor w J-tab-con">
        <div class="mt clearfix">
        <h2>大聚会 <i>DISCOUNT</i></h2>
         </div><!--mt end-->
        <div class="mc clearfix">
            <div class="side-inner">
               <div class="item item-qiang">
                        <div class="brand">
                            <a >
                                <img class="img" src="images/temp/2.jpg" />
                            </a>
                        </div>
                        <div class="qiang-now">
                            <div class="discount"><b>1.1</b>折</div>
                            <div class="angle"></div>
                            <div class="btn"><a href="" target="_blank" name="index1_none_djh_pph0201">马上抢</a></div>
                        </div>
                        <div class="time-left">
                            <i class="ng-iconfont"></i>
                            <span class="time-detail J-time" data-time="1435247999000" target="_blank">
                                <i class="days">01</i>天<i class="split"></i><i class="hours">11</i><i class="split">:</i><i class="minutes">30</i><i class="split">:</i><i class="secs">50</i>
                            </span>
                        </div>
                    </div>
                <div class="err-product"><img class="img" src="images/temp/3.jpg" alt=""></div>
            </div><!--side-inner end-->
            <div class="main">
                <div class="J-tab-con">
                <ul class="tab J-tab-menu">
                    <li class="tab-item current" ><a href="">限时促销</a></li>
                    <li class="tab-item"><a href="">季节精选</a></li>
                </ul>
                <!-- 限时促销模块商品 -->
                <div class="J-tab-box">
                    <div>
                        <ul class="p-list">
		                    <c:forEach items="${indexShow.indexGoods2 }" var="g2">
			                    <li>
			                        <div class="p-item">
			                            <p class="p-img"><a href="/medicine/detailgoods?gid=${g2.gid }"><img class="img" src="${g2.fileName }" alt=""></a></p>
			                        <p class="p-name"><a href="/medicine/detailgoods?gid=${g2.gid }">${g2.gname }</a></p>
			                        <p ><span class="p-price">￥${g2.price }</span><span class="p-discount">8.5折</span></p>
			                        </div>
			                    </li>
		                    </c:forEach>
                        </ul>
                    </div>
                <!-- 季节精选模块商品 -->    
            <div class="hide">
                <ul class="p-list">
                    <c:forEach items="${indexShow.indexGoods3 }" var="g3">
	                    <li>
	                        <div class="p-item">
	                            <p class="p-img"><a href="/medicine/detailgoods?gid=${g3.gid }"><img class="img" src="${g3.fileName }" alt=""></a></p>
	                        <p class="p-name"><a href="/medicine/detailgoods?gid=${g3.gid }">${g3.gname }</a></p>
	                        <p ><span class="p-price">￥${g3.price }</span><span class="p-discount">8.5折</span></p>
	                        </div>
	                    </li>
                   </c:forEach>
                </ul>
                    </div>
            </div><!--tab-box end-->
            </div> <!--tab-con end-->
            </div><!--main end-->
        </div>
    </div><!--floor end-->

     <div class="floor w">
        <div class="mt clearfix">
        <h2>日常用药</h2>
         </div><!--mt end-->
        <div class="mc clearfix">
            <div class="side-inner">
               <div class="item">
                        <div class="brand">
                            <a >
                                <img class="img" src="images/temp/4.jpg" >
                            </a>
                        </div>
                       <div class="floor-brands">   <ul> 
                        <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                           <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                              <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                                 <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li><li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>   <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li> </ul></div>
                    </div>
                          </div><!--side-inner end-->
            <!-- 日常用药模块商品 -->
            <div class="main">
                <ul class="p-list">
                   <c:forEach items="${indexShow.indexGoods4 }" var="g4">
	                    <li>
	                        <div class="p-item">
	                            <p class="p-img"><a href="/medicine/detailgoods?gid=${g4.gid }"><img class="img" src="${g4.fileName }" alt=""></a></p>
	                        <p class="p-name"><a href="/medicine/detailgoods?gid=${g4.gid }">${g4.gname }</a></p>
	                        <p ><span class="p-price">￥${g4.price }</span></p>
	                        </div>
	                    </li>
                   </c:forEach>
                </ul>
            </div>
            <!--main end-->
        </div>
    </div>
    <!--floor end-->
     <div class="floor w">
        <div class="mt clearfix">
        <h2>慢性疾病</h2>
         </div><!--mt end-->
        <div class="mc clearfix">
            <div class="side-inner">
               <div class="item">
                        <div class="brand">
                            <a >
                                <img class="img" src="images/temp/4.jpg" >
                            </a>
                        </div>
                       <div class="floor-brands">   <ul> 
                        <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                           <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                              <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                                 <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li><li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>   <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li> </ul></div>
                    </div>
                          </div>
                          <!--side-inner end-->
            <!-- 慢性疾病模块商品 -->
            <div class="main">
                <ul class="p-list">
                    <c:forEach items="${indexShow.indexGoods5 }" var="g5">
	                    <li>
	                        <div class="p-item">
	                            <p class="p-img"><a href="/medicine/detailgoods?gid=${g5.gid }"><img class="img" src="${g5.fileName }" alt=""></a></p>
	                        <p class="p-name"><a href="/medicine/detailgoods?gid=${g5.gid }">${g5.gname }</a></p>
	                        <p ><span class="p-price">￥${g5.price }</span></p>
	                        </div>
	                    </li>
                   </c:forEach>                    
                </ul>
            </div>
            <!--main end-->
        </div>
    </div><!--floor end-->
    
     <div class="floor w">
        <div class="mt clearfix">
        <h2>医疗器械</h2>
       
         </div><!--mt end-->
        <div class="mc clearfix">
            <div class="side-inner">
               <div class="item">
                        <div class="brand">
                            <a >
                                <img class="img" src="images/temp/4.jpg" >
                                   
                            </a>
                        </div>
                        
                       <div class="floor-brands">   <ul> 
                        <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                           <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>

                              <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                                 <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                       <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li><li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>   <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li> </ul></div>
                    </div>

                          </div>
                          <!--side-inner end-->
            <!-- 医疗器械模块商品 -->
            <div class="main">
                <ul class="p-list">
                    <c:forEach items="${indexShow.indexGoods6 }" var="g6">
	                    <li>
	                        <div class="p-item">
	                            <p class="p-img"><a href="/medicine/detailgoods?gid=${g6.gid }"><img class="img" src="${g6.fileName }" alt=""></a></p>
	                        <p class="p-name"><a href="/medicine/detailgoods?gid=${g6.gid }">${g6.gname }</a></p>
	                        <p ><span class="p-price">￥${g6.price }</span></p>
	                        </div>
	                    </li>
                   </c:forEach>                    
                </ul>
            </div><!--main end-->
        </div>
    </div><!--floor end-->
    
     <div class="floor w">
        <div class="mt clearfix">
        <h2>保健用品</h2>
       
         </div><!--mt end-->
        <div class="mc clearfix">
            <div class="side-inner">
               <div class="item">
	               <div class="brand">
	                  <a >
	                      <img class="img" src="images/temp/4.jpg" >
	                         
	                  </a>
	              </div>
                        
                  <div class="floor-brands">   <ul> 
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li>   
                     <li><a href=""><img class="img" src="images/temp/5.jpg" alt=""></a></li> </ul></div>
                  </div>

            </div>
            <!--side-inner end-->
            <!-- 保健食品模块商品 -->
            <div class="main">
                <ul class="p-list">
                    <c:forEach items="${indexShow.indexGoods7 }" var="g7">
	                    <li>
	                        <div class="p-item">
	                            <p class="p-img"><a href="/medicine/detailgoods?gid=${g7.gid }"><img class="img" src="${g7.fileName }" alt=""></a></p>
	                        <p class="p-name"><a href="/medicine/detailgoods?gid=${g7.gid }">${g7.gname }</a></p>
	                        <p ><span class="p-price">￥${g7.price }</span></p>
	                        </div>
	                    </li>
                   </c:forEach>                   
                </ul>
            </div><!--main end-->
        </div>
    </div><!--floor end-->

    <div class="floor floor-zone w">
        <div class="mt clearfix">
        <h2>资讯</h2>
         </div><!--mt end-->
        <div class="mc clearfix">
          <div class="hots-and-share-item">
                    <div class="hots">
                        <div class="hots-prom">
                            <a href="detailnews?nid=12" title="你好夏天！" name="index1_none_sq_gg01" target="_blank"><img class="img" src="images/temp/i0.jpg" alt=""></a></div>
                            <div class="hots-items"><h4>最热度</h4>
                            <ul class="items-list"> 
	                            <c:forEach items="${indexShow.showNews1 }" var="news1">
	                                 <li><span>[赞]</span><a target="_blank" href="detailnews?nid=${news1.nid }">${news1.title }</a></li> 
	                            </c:forEach>
                             </ul>
                          </div>
                      </div><!--hots end-->
                      <div class="share-orders">
                        <h4>精选</h4>
                        <ul class="share-items">
                        <c:forEach items="${indexShow.showNews2 }" var="news2">
                            <li>
                                <div class="face"><a href="detailnews?nid=${news2.nid }"><img class="img" src="${news2.inpic }" alt="" ></a>
                                    <div class="name">
                                        <p class="name-txt"><a  href="detailnews?nid=${news2.nid }">${news2.title }</a></p>
                                    </div>
                                </div>
                                <dl class="detail">
                                  
                                    <dd>
                                        <a href="detailnews?nid=${news2.nid }" target="_blank" name="index1_none_sq_sd01">${news2.summary }</a>
                                        <i></i>
                                    </dd>
                                </dl>
                            </li>
                        </c:forEach>
                      </ul></div>                    
                </div>
        </div>
    </div><!--floor end-->
    
 <iframe src="footer.jsp" frameborder="0" width="100%" height="462" scrolling="no"></iframe>

           <!--右侧贴边导航quick_links.js控制-->
           <div class="jdm-toolbar-wrap">
               <div class="jdm-toolbar">
                   <div class="jdm-toolbar-tabs">
                       <div class="J-trigger jdm-toolbar-tab jdm-tbar-tab-cart">
                           <i class="tab-ico"></i>
                           <em class="tab-text">购物车</em>
                           <span class="tab-sub J-count hide" >11</span>
                       </div>

                       <div class="J-trigger jdm-toolbar-tab jdm-tbar-tab-history">
                           <i class="tab-ico"></i>
                           <em class="tab-text">关注我</em>
                           <span class="tab-sub J-count hide" >0</span>
                       </div>

                       <div class="J-trigger jdm-toolbar-tab jdm-tbar-tab-consult">
                           <i class="tab-ico"></i>
                           <em class="tab-text">咨询</em>
                           <span class="tab-sub J-count hide" >0</span>
                       </div>
                   </div><!--jdm-toolbar-tabs-->

                   <div class="jdm-toolbar-footer">
                       <div data-type="link" class="J-trigger jdm-toolbar-tab jdm-tbar-tab-top">
                           <a href="#" >
                               <i class="tab-ico"></i>
                               <em class="tab-text">顶部</em>
                           </a>
                       </div>
                   </div>


                   <div class="jdm-toolbar-panels J-panel">
                       <div data-name="cart" class="J-content jdm-toolbar-panel jdm-tbar-panel-cart" style="visibility: visible; z-index: 2;">
                           <h3 class="jdm-tbar-panel-header J-panel-header">
                               <a href="" target="_blank" class="title" >
                                   <i></i>
                                   <em class="title">购物车</em>
                               </a>
                               <span class="close-panel J-close"></span>
                           </h3>
                           <div class="jdm-tbar-panel-main">
                               <div class="jdm-tbar-panel-content J-panel-content" style="height: 850px;">
                                   <div id="J-cart-tips" class="jdm-tbar-tipbox hide" style="display: none;">
                                       <div class="tip-inner">
                                           <span class="tip-text">还没有登录，登录后商品将被保存</span>
                                           <a href="#none" class="tip-btn J-login">登录</a>
                                       </div>
                                   </div>
                                   <div id="J-cart-render">
                                       <!--
                                      <div>
                                          <div class="jdm-tbar-tipbox2">
                                              <div class="tip-inner">
                                                  <i class="i-face-fd tip-face"></i>
                                                   <div class="tip-text"> 购物车空空的，赶快去挑选心仪的商品吧~<br>
                                                      <a href="h">去首页看看</a>
                                                  </div>
                                              </div>
                                          </div>
                                          <div>

                                          </div>
                                      </div>
                                     -->
                                       <div class="jdm-tbar-cart-list">
                                           <div class="jdm-tbar-cart-item">
                                               <div class="jtc-item-goods">
                                                   <span class="p-img"><a href="#"><img src="http://img11.360buyimg.com/n5/jfs/t1690/295/51612933/79882/caad6ef0/556c41e5N0dc94a57.jpg"/></a></span>
                                                   <span class="p-name"><a href="#">中感康口服液治宠物咳嗽狗狗感冒药口服冲剂</a></span>
                                                   <span class="p-price"><strong>￥13598.00</strong>X1</span>
                                                   <a  class="p-del J-del"  href="#none">删除</a>
                                               </div>
                                               <div class="jtc-item-goods">
                                                   <span class="p-img"><a href="#"><img src="http://img11.360buyimg.com/n5/jfs/t1690/295/51612933/79882/caad6ef0/556c41e5N0dc94a57.jpg"/></a></span>
                                                   <span class="p-name"><a href="#">中感康口服液治宠物咳嗽狗狗感冒药口服冲剂</a></span>
                                                   <span class="p-price"><strong>￥13598.00</strong>X1</span>
                                                   <a  class="p-del J-del"  href="#none">删除</a>
                                               </div>
                                               <div class="jtc-item-goods">
                                                   <span class="p-img"><a href="#"><img src="http://img11.360buyimg.com/n5/jfs/t1690/295/51612933/79882/caad6ef0/556c41e5N0dc94a57.jpg"/></a></span>
                                                   <span class="p-name"><a href="#">中感康口服液治宠物咳嗽狗狗感冒药口服冲剂</a></span>
                                                   <span class="p-price"><strong>￥13598.00</strong>X1</span>
                                                   <a  class="p-del J-del"  href="#none">删除</a>
                                               </div>
                                               <div class="jtc-item-goods">
                                                   <span class="p-img"><a href="#"><img src="http://img11.360buyimg.com/n5/jfs/t1690/295/51612933/79882/caad6ef0/556c41e5N0dc94a57.jpg"/></a></span>
                                                   <span class="p-name"><a href="#">中感康口服液治宠物咳嗽狗狗感冒药口服冲剂</a></span>
                                                   <span class="p-price"><strong>￥13598.00</strong>X1</span>
                                                   <a  class="p-del J-del"  href="#none">删除</a>
                                               </div>
                                           </div>
                                           <div class="jdm-tbar-cart-item">
                                               <div class="jtc-item-goods">
                                                   <span class="p-img"><a href="#"><img src="http://img11.360buyimg.com/n5/jfs/t1690/295/51612933/79882/caad6ef0/556c41e5N0dc94a57.jpg"/></a></span>
                                                   <span class="p-name"><a href="#">中感康口服液治宠物咳嗽狗狗感冒药口服冲剂</a></span>
                                                   <span class="p-price"><strong>￥13598.00</strong>X1</span>
                                                   <a  class="p-del J-del"  href="#none">删除</a>
                                               </div>
                                               <div class="jtc-item-goods">
                                                   <span class="p-img"><a href="#"><img src="http://img11.360buyimg.com/n5/jfs/t1690/295/51612933/79882/caad6ef0/556c41e5N0dc94a57.jpg"/></a></span>
                                                   <span class="p-name"><a href="#">中感康口服液治宠物咳嗽狗狗感冒药口服冲剂</a></span>
                                                   <span class="p-price"><strong>￥13598.00</strong>X1</span>
                                                   <a  class="p-del J-del"  href="#none">删除</a>
                                               </div>
                                           </div>
                                       </div>
                                   </div>
                               </div>
                           </div>
                           <div class="jdm-tbar-panel-footer J-panel-footer">
                               <div class="jdm-tbar-checkout">
                                   <div class="jtc-number"><strong class="J-count">0</strong>件商品</div>
                                   <div class="jtc-sum">共计：<strong class="J-total">￥0.00</strong></div>
                                   <a class="jtc-btn J-btn" href="">去购物车结算</a>
                               </div>
                           </div>
                       </div>

                       <div data-name="cart" class="J-content jdm-toolbar-panel jdm-tbar-panel-cart" style="visibility: visible; z-index: 1;">
                           <h3 class="jdm-tbar-panel-header J-panel-header">
                               <a href="" target="_blank" class="title" >
                                   <i></i>
                                   <em class="title">扫一扫关注我</em>
                               </a>
                               <span class="close-panel J-close"></span>
                           </h3>
                           <div class="jdm-tbar-panel-main">
                               <div class="jdm-tbar-panel-content panel-about" style="height: 850px;">
                                   <img width="260" src="images/temp/erweima.jpg"/>
                               </div>

                           </div>

                       </div>
                       <!--  -->

                       <div data-name="cart" class="J-content jdm-toolbar-panel jdm-tbar-panel-cart" style="visibility: visible; z-index: 1;">
                           <h3 class="jdm-tbar-panel-header J-panel-header">
                               <a href="" target="_blank" class="title" >
                                   <i></i>
                                   <em class="title">联系方式</em>
                               </a>
                               <span class="close-panel J-close"></span>
                           </h3>
                           <div class="jdm-tbar-panel-main">
                               <div class="jdm-tbar-panel-content panel-ask" style="height: 850px;">
                                   <p class="tel"><span>电话：</span>400-1066-519</p>

                                   <p><span>时间：</span>周一至周日 8:00-18:00
                                       <br/>
                                       （仅收市话费）</p>
                               </div>
                           </div>

                       </div>
                       <!--  -->

                   </div><!--jdm-toolbar-panels end-->

               </div><!--jdm-toolbar end-->
           </div>

        <script type="text/javascript">

            	var $jdmNum = 0;
            	
            	$('.jdm-tbar-panel-content').css('height',$(window).height()-90);
                //滑动浮层效果
                $(".J-trigger").hover(function(){
                	if(!$(this).hasClass('jdm-active')){
                		$(this).addClass("z-jdm-tbar-tab-hover");
                	}  
                },function(){
                    $(this).removeClass("z-jdm-tbar-tab-hover");
                });
                //显示浮层内容
                 $(".jdm-toolbar-tabs .J-trigger").click(function(){
                 	if($(this).hasClass('jdm-active')){
                 		 $(".jdm-toolbar-wrap").removeClass("z-jdm-toolbar-open");
                 		 $(".J-trigger").removeClass('jdm-active');
                 	}else{
                 		
                 		if(!$(".jdm-toolbar-wrap").hasClass('z-jdm-toolbar-open')){
                 			$(".jdm-toolbar-wrap").addClass("z-jdm-toolbar-open");	
                 		}
                 		
                 		$('.J-content').css({'visibility':'hidden'});
                 		
                 		$('.J-content').eq($jdmNum).removeClass('toolbar-animate-in');
                 		$('.J-content').eq($jdmNum).addClass('toolbar-animate-out');
                 		$('.J-content').eq($jdmNum).css({'z-index':1,'visibility':'visible'});
                 		 
                 		$('.J-content').eq($(this).index()).removeClass('toolbar-animate-out');
                 		$('.J-content').eq($(this).index()).addClass('toolbar-animate-in');
                 		$('.J-content').eq($(this).index()).css({'z-index':2,'visibility':'visible'});
                 		 
	                    $(".J-trigger").removeClass('jdm-active');
	                    $(this).removeClass("z-jdm-tbar-tab-hover");
	                    $(this).addClass('jdm-active');
	                    $jdmNum = $(this).index();
                 	}
                   
                });
			
			 /* 点击关闭按钮 */
				$('.J-close').click(function(){
					$(".jdm-toolbar-wrap").removeClass("z-jdm-toolbar-open");
					$(".J-trigger").removeClass('jdm-active');
				});

        </script>
  
<script type="text/javascript" src="js/slider.js"></script>

     <script>
          $('.J-tab-con').Tabs({
            event:'hover'
          });
    </script>
</body>
</html>